/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package assignment1;

/**
 * McOz Class:
 * This class extends the Product Class, and is used to create instances of the Product "McOz Burger"
 * @author Vale
 *
 */
public class McOz extends Burger {

    private final String SAUCE_NAME = "Tomato Sauce";

    /**
     * void makeBurger() Method:
     * Makes Burger "McOz" from required inventory items, and adds them to the inventory List for the burger
     *
     */
    public void makeBurger() {
        Cheese cheese = new Cheese();
        cheese.setInvAmount(1);
        BeefPatty beefPatty = new BeefPatty();
        beefPatty.setInvAmount(1);
        Buns buns = new Buns();
        buns.setInvAmount(2);
        Onions onions = new Onions();
        onions.setInvAmount(1);
        Sauce sauce = new Sauce();
        sauce.setInvAmount(1);
        sauce.setInvName(SAUCE_NAME);
        Beetroot beetroot = new Beetroot();
        beetroot.setInvAmount(1);
        Tomato tomato = new Tomato();
        tomato.setInvAmount(1);
        this.getInventList().add(cheese);
        this.getInventList().add(beefPatty);
        this.getInventList().add(buns);
        this.getInventList().add(onions);
        this.getInventList().add(sauce);
        this.getInventList().add(tomato);
        this.getInventList().add(beetroot);
    }
}
